package com.kmust.dream.wanderingdream.donation.service.impl;

import com.kmust.dream.wanderingdream.comm.utils.PageUtils;
import com.kmust.dream.wanderingdream.comm.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.kmust.dream.wanderingdream.donation.dao.AuditFeedbackDao;
import com.kmust.dream.wanderingdream.donation.entity.AuditFeedbackEntity;
import com.kmust.dream.wanderingdream.donation.service.AuditFeedbackService;

@Deprecated
@Service("auditFeedbackService")
public class AuditFeedbackServiceImpl extends ServiceImpl<AuditFeedbackDao, AuditFeedbackEntity> implements AuditFeedbackService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<AuditFeedbackEntity> page = this.page(
                new Query<AuditFeedbackEntity>().getPage(params),
                new QueryWrapper<AuditFeedbackEntity>()
        );

        return new PageUtils(page);
    }

}